//
//  clickName.m
//  DEMO_01
//
//  Created by Anthony Zhang on 2018/4/16.
//  Copyright © 2018年 Anthony Zhang. All rights reserved.
//

#import "clickName.h"

@interface clickName ()

@end

@implementation clickName

- (void)viewDidLoad {
    [super viewDidLoad];
    _imageView = [[UIImageView alloc]initWithImage:_image];
    _imageView.frame = [UIScreen mainScreen].bounds;
    
    UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(back:)];
    [self.view addGestureRecognizer:tap];
    [self.view addSubview:_imageView];
}

- (void)back:(id)tap
{
    [self.navigationController popToRootViewControllerAnimated:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
}



@end
